package com.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @TableName student
 */
@Data
@ToString
@TableName(value = "student")
public class Student implements Serializable {
    /**
     *
     */
    @TableId
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     *
     */
    private String studentName;

    /**
     *
     */
    private Integer studentSex;

    /**
     *
     */
    private String studentIdCard;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
